import Vue from "vue"
import moment from "moment"
moment.locale('zh-cn')
Vue.filter('timeFormat', function (value) {
    if (!value) return ''
    const time=moment(value).fromNow()
    return time
})
  